import request from '/@/utils/request';



interface editPassword {
	id: string
}
//获取地区列表

export function regionGet(params: object) {
	return request({
		url: '/api/region',
		method: 'get',
		params: params,
	});
}
//用户列表


export function schoolList(params: object) {
	return request({
		url: '/api/center/school',
		method: 'get',
		params: params,
	});
}
//导入
export function uploadFile(params: object) {
	return request({
		url: '/api/center/school/import',
		method: 'post',
		data: params,
	});
}
//启用禁用
export function Enable(params: editPassword) {
	return request({
		url: `/api/center/school/updateStatus?id=${params.id}`,
		method: 'post',
		data: params,
	});
}




